#ifndef USER_H
#define USER_H

#include <QString>

class User
{
private:
       QString id;
       QString name;
       QString password;
       float total_amount;
       float consume_amount;

public:
    User();
    User(const QString &id, const QString &name,const QString &password, const float total_amount, const float consume_amount):
        id(id), name(name), password(password), total_amount(total_amount), consume_amount(consume_amount) {}

    QString getId() const {return id;}
    QString getName() const {return name;}
    QString getPassword() const {return password;}
    float getTotalAmount() const {return total_amount;}
    float getConsumeAmount() const {return consume_amount;}
};

#endif // USER_H
